package com.mate.cloud.sensitive.annotation;

import com.mate.cloud.sensitive.config.SensitiveConfigurationSelector;
import com.mate.cloud.sensitive.config.SensitivePropertiesAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @description: 开启敏感数据处理
 * @author: MI
 * @email: 448341911@qq.com
 * @createTime: 2025/2/11 19:29
 * @updateUser: MI
 * @updateTime: 2025/2/11 19:29
 * @updateRemark: 修改内容
 * @version: v1.0
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({SensitivePropertiesAutoConfiguration.class, SensitiveConfigurationSelector.class})
public @interface EnableSensitive {

    boolean security() default true;

    boolean sensitive() default true;

    String[] packages() default {};
}